﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020012D9 RID: 4825
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SyncDeleteFriendScNotify : IMessage<SyncDeleteFriendScNotify>, IMessage, IEquatable<SyncDeleteFriendScNotify>, IDeepCloneable<SyncDeleteFriendScNotify>, IBufferMessage
	{
		// Token: 0x17003CFA RID: 15610
		// (get) Token: 0x0600D828 RID: 55336 RVA: 0x00243C74 File Offset: 0x00241E74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SyncDeleteFriendScNotify> Parser
		{
			get
			{
				return SyncDeleteFriendScNotify._parser;
			}
		}

		// Token: 0x17003CFB RID: 15611
		// (get) Token: 0x0600D829 RID: 55337 RVA: 0x00243C7B File Offset: 0x00241E7B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SyncDeleteFriendScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003CFC RID: 15612
		// (get) Token: 0x0600D82A RID: 55338 RVA: 0x00243C8D File Offset: 0x00241E8D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SyncDeleteFriendScNotify.Descriptor;
			}
		}

		// Token: 0x0600D82B RID: 55339 RVA: 0x00243C94 File Offset: 0x00241E94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncDeleteFriendScNotify()
		{
		}

		// Token: 0x0600D82C RID: 55340 RVA: 0x00243C9C File Offset: 0x00241E9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncDeleteFriendScNotify(SyncDeleteFriendScNotify other) : this()
		{
			this.uid_ = other.uid_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D82D RID: 55341 RVA: 0x00243CC1 File Offset: 0x00241EC1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncDeleteFriendScNotify Clone()
		{
			return new SyncDeleteFriendScNotify(this);
		}

		// Token: 0x17003CFD RID: 15613
		// (get) Token: 0x0600D82E RID: 55342 RVA: 0x00243CC9 File Offset: 0x00241EC9
		// (set) Token: 0x0600D82F RID: 55343 RVA: 0x00243CD1 File Offset: 0x00241ED1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Uid
		{
			get
			{
				return this.uid_;
			}
			set
			{
				this.uid_ = value;
			}
		}

		// Token: 0x0600D830 RID: 55344 RVA: 0x00243CDA File Offset: 0x00241EDA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SyncDeleteFriendScNotify);
		}

		// Token: 0x0600D831 RID: 55345 RVA: 0x00243CE8 File Offset: 0x00241EE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SyncDeleteFriendScNotify other)
		{
			return other != null && (other == this || (this.Uid == other.Uid && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D832 RID: 55346 RVA: 0x00243D18 File Offset: 0x00241F18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Uid != 0U)
			{
				num ^= this.Uid.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D833 RID: 55347 RVA: 0x00243D57 File Offset: 0x00241F57
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D834 RID: 55348 RVA: 0x00243D5F File Offset: 0x00241F5F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D835 RID: 55349 RVA: 0x00243D68 File Offset: 0x00241F68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Uid != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Uid);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D836 RID: 55350 RVA: 0x00243D9C File Offset: 0x00241F9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Uid != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Uid);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D837 RID: 55351 RVA: 0x00243DDA File Offset: 0x00241FDA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SyncDeleteFriendScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Uid != 0U)
			{
				this.Uid = other.Uid;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D838 RID: 55352 RVA: 0x00243E0B File Offset: 0x0024200B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D839 RID: 55353 RVA: 0x00243E14 File Offset: 0x00242014
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 104U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Uid = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005617 RID: 22039
		private static readonly MessageParser<SyncDeleteFriendScNotify> _parser = new MessageParser<SyncDeleteFriendScNotify>(() => new SyncDeleteFriendScNotify());

		// Token: 0x04005618 RID: 22040
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005619 RID: 22041
		public const int UidFieldNumber = 13;

		// Token: 0x0400561A RID: 22042
		private uint uid_;
	}
}
